/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
const articleRouter = {
  path: '/article/list',
  component: Layout,
  name: 'article-list',
  meta: {
    title: '图文管理',
    subtitle:'内容',
    icon: 'article',
    permissions:['article.query']
  },
  children: [
    {
      path: '/article/list',
      component: () => import('@/views/article/list'),
      name: 'article-list',
      meta: {title: '文章管理' ,subtitle:'文章',icon:'article'
        // ,permissions:['article.query']
      }
    },
    {
      path: '/article/add',
      component: () => import('@/views/article/add'),
      name: 'article-add',
      meta: {title: '新增文章' ,icon:'menu_article'},
      hidden: true
    },
    {
      path: '/article/edit',
      component: () => import('@/views/article/edit'),
      name: 'article-edit',
      meta: {title: '修改文章' ,icon:'menu_article'},
      hidden: true
    },
    {
      path: '/reportForm/articleReport',
      component: () => import('@/views/reportForm/articleReport'),
      name: 'article-edit',
      meta: {title: '文章报表' ,icon:'menu_article'},
      hidden: true
    },
    {
      path: '/reportForm/communityRep',
      component: () => import('@/views/reportForm/communityRep'),
      name: 'article-edit',
      meta: {title: '社区报表' ,icon:'menu_article'},
      hidden: true
    },
    {
      path: '/reportForm/apartmentRep',
      component: () => import('@/views/reportForm/apartmentRep'),
      name: 'article-edit',
      meta: {title: '楼幢报表' ,icon:'menu_article'},
      hidden: true
    },
    {
      path: '/reportForm/companyRep',
      component: () => import('@/views/reportForm/companyRep'),
      name: 'article-edit',
      meta: {title: '公司报表' ,icon:'menu_article'},
      hidden: true
    },



]
}
export default articleRouter
